using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;

namespace ScarEngine
{

    public class Game1 : Microsoft.Xna.Framework.Game
    {
        public static Game1 Game;
        public static MasterManager MasterManager;
        
        public Game1()
        {
            Game = this;
            MasterManager = new MasterManager();
            Content.RootDirectory = "Content";
        }

        protected override void Initialize()
        {
            MasterManager.Init();
            base.Initialize();
        }

        protected override void LoadContent()
        {
            base.LoadContent();
        }

        protected override void BeginRun()
        {
            MasterManager.BeginRun();
            base.BeginRun();
        }


        protected override void Update(GameTime gameTime)
        {
            MasterManager.Update(gameTime);
            base.Update(gameTime);
        }


        protected override void Draw(GameTime gameTime)
        {
            MasterManager.Draw(gameTime);
            base.Draw(gameTime);
        }



    }
}
